home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Developer CD 2.1
/
Amiga Developer CD v2.1.iso
/
Reference
/
DevCon
/
Washington_1988
/
DevCon88.1
/
JimmDemos
/
DemoSource
/
openg.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-08-27
|
313 b
|
18 lines
/* opengfx.c -- open up graphics */
/* by Jim Mackraz, 1987. Placed in the public domain by the author. */
#include <functions.h>
long int GfxBase = 0;
long int
OpenGfx(vers)
{
return (GfxBase = (long int) OpenLibrary("graphics.library", (long) vers));
}
CloseGfx()
{
if (GfxBase) CloseLibrary(GfxBase);
}